import request from '@/utils/request.js'

export const getUserInfoList = data => {
  return request({
    method: 'post',
    url: 'api/Finance/PagingWithdraw',
    data
  })
}

export const getWithdrawStatus = data => {
  return request({
    method: 'post',
    url: 'api/Finance/WithdrawStatus',
    data
  })
}

export const getInfoList = data => {
  return request({
    method: 'post',
    url: 'api/Finance/PagingBalance',
    data
  })
}

export const getCountType = data => {
  return request({
    method: 'post',
    url: 'api/Finance/BalanceType',
    data
  })
}

export const recharge = data => {
  return request({
    method: 'post',
    url: 'api/Finance/Recharge',
    data
  })
}

export const deduction = data => {
  return request({
    method: 'post',
    url: 'api/Finance/Deduction',
    data
  })
}

export const addStock = data => {
  return request({
    method: 'post',
    url: 'api/Finance/AdditionStock',
    data
  })
}

export const deductStock = data => {
  return request({
    method: 'post',
    url: 'api/Finance/DeductStock',
    data
  })
}

export const getUserCloudStock = data => {
  return request({
    method: 'post',
    url: 'api/Finance/CloudStock',
    data
  })
}

export const getLiveDetail = data => {
  return request({
    method: 'post',
    url: 'api/Finance/PagingStatistics',
    data
  })
}
